import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
//router
import router from "./router/index";
//pinia
import { createPinia } from 'pinia' 
const pinia = createPinia()
// 路由守卫
router.beforeEach((to,from,next)=>{
    
    next()
})
const app = createApp(App)
app.use(router)
app.use(pinia)
app.mount('#app')
